package fifis.game.common;

import org.apache.log4j.Logger;

/**
 *
 * @author porfiriopartida
 */
public class ObservableArgument {
    protected final static Logger log4j = Logger.getLogger(ObservableArgument.class);
    private final int type;
    private final Object old;
    private final Object newVal;
    
    public ObservableArgument(int type, Object old, Object newVal){
        this.type = type;
        this.old = old;
        this.newVal = newVal;
    }
    
    public Object getNewVal() {
        return newVal;
    }

    public Object getOld() {
        return old;
    }

    public int getType() {
        return type;
    }
    
}
